package com.xxx.mall.service.impl;

import com.xxx.mall.model.SysUser;
import com.xxx.mall.mapper.SysUserMapper;
import com.xxx.mall.service.SysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxx.mall.vo.SysUserInfoVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 平台用户 服务实现类
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-19
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService {

    @Override
    public SysUserInfoVO getUserInfoByUserId(Long userId) {
        return baseMapper.getUserInfoByUserId(userId);
    }
}
